package com.RuiJi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.apache.bval.constraints.Email;

import java.io.Serializable;

/**
 * @author Twinkle
 * @PACKAGE_NAME: com.RuiJi.entity
 * @NAME: User
 * @USER: Twinkle
 * @DATE: 2023/4/14
 * @TIME: 22:14
 * @YEAR: 2023
 * @MONTH: 04
 */
@Data
public class User implements Serializable {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    private String name;

    @Email
    private String email;

    private String sex;

    private String idNumber;

    private String avatar;

    private Integer status;
}
